/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package GUI.Components;

import Tools.TModel;
import javax.swing.JComponent;
import javax.swing.JPanel;

/**
 *
 * @author Иван
 */
public abstract class AComponentBuilder {

    protected boolean activ;

    public abstract JComponent buildComponent() throws Exception;

    public abstract void updateComponent(Object object);

    public void Activate() {
        this.activ = true;
    }

    public void Disable() {
        this.activ = false;
    }

    public boolean isActiv() {
        return activ;
    }
}
